@import '../../Common';

#panel_content-lesson-edit,
#panel_content-activityTemplate {
  padding: 0 !important;

  #list_side {
    position: relative !important;
    border-right: 1px solid $borderColor;
    min-height: 100vh;

    .ant-pagination {
      margin: 20px;
    }

    > div:last-child {
      right: 0 !important;
    }

    .ant-menu-inline,
    .ant-menu-vertical {
      border-right: 0;
    }
  }

  .search-form {
    padding: 16px;
    border-radius: 0;
    border-width: 0 0 1px;
  }

  #add_tag_button {
    padding: 6px 10px;
    vertical-align: middle;
    border-color: #bbc3ff;
  }

  .classic-upload-item {
    $imgWidth: 48px;

    overflow: hidden;
    margin: 10px 0;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #d9d9d9;
    height: 92px;
    position: relative;
    line-height: 22px;

    .classic-thumbnail {
      float: left;
      vertical-align: text-top;
      padding: 5px;
      border: 1px solid #ddd;

      img {
        width: $imgWidth;
        height: $imgWidth;
        display: block;
        overflow: hidden;
      }

      .classic-button-play-pause {
        i {
          position: absolute;
          left: 17px;
          top: 17px;
          font-size: 30px;
        }
      }
    }

    .classic-item-name,
    .classic-item-attachment-type {
      background: #6f95e6;
      color: #ffffff;
      padding: 1px 7px;
      display: inline-block;
      vertical-align: top;
      margin: 0 0 0 10px;
      border-radius: 4px;
    }

    .classic-item-attachment-type {
      background: #dee0e2;
    }

    .classic-file-name {
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 70%;
      white-space: nowrap;
      margin: 2px 0 0 10px;
      display: inline-block;
    }

    .classic-operation {
      position: absolute;
      top: 50%;
      margin-top: -10px;
      right: 18px;

      * {
        margin-left: 15px;
        cursor: pointer;
        font-size: 24px;
      }

      .ant-radio-inner {
        margin-bottom: 5px;
      }
    }
  }

  a.classic-upload-item,
  a.classic-upload-item:hover {
    display: block;
    color: #555555;
  }

  .publish-1 {
    background-color: #52c41a;
  }
  .publish-2 {
    background-color: #faad14;
  }
}
